package com.stars.system.fitness.domain;

import java.util.List;

import com.stars.system.fitness.domain.FitnessRecord;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 我的习惯对象 stars_fitness_basic
 * 
 * @author shuaibizhe
 * @date 2022-09-09
 */
public class FitnessBasic extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private String basicId;

    /** 健身部位 */
    @Excel(name = "健身部位")
    private String basicParent;

    /** 健身部位（中文） */
    @Excel(name = "健身部位", readConverterExp = "中=文")
    private String basicParentDesc;

    /** 健身类型 */
    @Excel(name = "健身类型")
    private String basicType;

    /** 健身类型（中文） */
    @Excel(name = "健身类型", readConverterExp = "中=文")
    private String basicTypeDesc;

    /** 健身量（X次，X分钟） */
    @Excel(name = "健身量", readConverterExp = "X=次，X分钟")
    private Long basicAmount;

    /** 健身组数 */
    @Excel(name = "健身组数")
    private Long basicGroup;

    /** 健身单位 */
    @Excel(name = "健身单位")
    private String basicUnit;

    /** 健身单位（中文） */
    @Excel(name = "健身单位", readConverterExp = "中=文")
    private String basicUnitDesc;

    /** fitness信息 */
    private List<FitnessRecord> fitnessList;

    public void setBasicId(String basicId)
    {
        this.basicId = basicId;
    }

    public String getBasicId()
    {
        return basicId;
    }
    public void setBasicParent(String basicParent) 
    {
        this.basicParent = basicParent;
    }

    public String getBasicParent() 
    {
        return basicParent;
    }
    public void setBasicParentDesc(String basicParentDesc) 
    {
        this.basicParentDesc = basicParentDesc;
    }

    public String getBasicParentDesc() 
    {
        return basicParentDesc;
    }
    public void setBasicType(String basicType) 
    {
        this.basicType = basicType;
    }

    public String getBasicType() 
    {
        return basicType;
    }
    public void setBasicTypeDesc(String basicTypeDesc) 
    {
        this.basicTypeDesc = basicTypeDesc;
    }

    public String getBasicTypeDesc() 
    {
        return basicTypeDesc;
    }
    public void setBasicAmount(Long basicAmount) 
    {
        this.basicAmount = basicAmount;
    }

    public Long getBasicAmount() 
    {
        return basicAmount;
    }
    public void setBasicGroup(Long basicGroup) 
    {
        this.basicGroup = basicGroup;
    }

    public Long getBasicGroup() 
    {
        return basicGroup;
    }
    public void setBasicUnit(String basicUnit) 
    {
        this.basicUnit = basicUnit;
    }

    public String getBasicUnit() 
    {
        return basicUnit;
    }
    public void setBasicUnitDesc(String basicUnitDesc) 
    {
        this.basicUnitDesc = basicUnitDesc;
    }

    public String getBasicUnitDesc() 
    {
        return basicUnitDesc;
    }

    public List<FitnessRecord> getFitnessList()
    {
        return fitnessList;
    }

    public void setFitnessList(List<FitnessRecord> fitnessList)
    {
        this.fitnessList = fitnessList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("basicId", getBasicId())
            .append("basicParent", getBasicParent())
            .append("basicParentDesc", getBasicParentDesc())
            .append("basicType", getBasicType())
            .append("basicTypeDesc", getBasicTypeDesc())
            .append("basicAmount", getBasicAmount())
            .append("basicGroup", getBasicGroup())
            .append("basicUnit", getBasicUnit())
            .append("basicUnitDesc", getBasicUnitDesc())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("fitnessList", getFitnessList())
            .toString();
    }
}
